//// Copyright 2013 Square, Inc.
//package org.assertj.ohos.api.preference;
//
//import ohos.preference.EditTextPreference;
//
//import static org.assertj.core.api.Assertions.assertThat;
//
///** Assertions for {@link EditTextPreference} instances. */
//public class EditTextPreferenceAssert
//    extends AbstractDialogPreferenceAssert<EditTextPreferenceAssert, EditTextPreference> {
//  public EditTextPreferenceAssert(EditTextPreference actual) {
//    super(actual, EditTextPreferenceAssert.class);
//  }
//
//  public EditTextPreferenceAssert hasText(String text) {
//    isNotNull();
//    String actualText = actual.getText();
//    assertThat(actualText) //
//        .overridingErrorMessage("Expected text <%s> but was <%s>.", text, actualText) //
//        .isEqualTo(text);
//    return this;
//  }
//}
